From e47f7d5827136329c46455714fbb73f8fd16a46e Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Wed, 3 Mar 2004 21:09:46 +0000 Subject: [PATCH] Don't activate the combo if we're in the midst of changing folders. Wed Mar 3 16:06:03 2004 Jonathan Blandford * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb): Don't activate the combo if we're in the midst of changing folders. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkfilechooserdefault.c | 3 +++ 6 files changed, 33 insertions(+) diff --git a/ChangeLog b/ChangeLog index 27ab8bb868..82cace02e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Mar 3 16:06:03 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb): + Don't activate the combo if we're in the midst of changing + folders. + 2004-03-03 Mark McLoughlin * tests/testsocket_common.c: (print_hello): don't try and store diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 27ab8bb868..82cace02e0 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Wed Mar 3 16:06:03 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb): + Don't activate the combo if we're in the midst of changing + folders. + 2004-03-03 Mark McLoughlin * tests/testsocket_common.c: (print_hello): don't try and store diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 27ab8bb868..82cace02e0 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Wed Mar 3 16:06:03 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb): + Don't activate the combo if we're in the midst of changing + folders. + 2004-03-03 Mark McLoughlin * tests/testsocket_common.c: (print_hello): don't try and store diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 27ab8bb868..82cace02e0 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Wed Mar 3 16:06:03 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb): + Don't activate the combo if we're in the midst of changing + folders. + 2004-03-03 Mark McLoughlin * tests/testsocket_common.c: (print_hello): don't try and store diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 27ab8bb868..82cace02e0 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Wed Mar 3 16:06:03 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb): + Don't activate the combo if we're in the midst of changing + folders. + 2004-03-03 Mark McLoughlin * tests/testsocket_common.c: (print_hello): don't try and store diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index 8502230202..eaecbc962e 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -1989,6 +1989,9 @@ save_folder_combo_changed_cb (GtkComboBox *combo, { int active; + if (impl->changing_folder) + return; + active = gtk_combo_box_get_active (combo); if (active == -1) return; -- 2.30.2